<if condition="$readonly">
    <div class="{$class}">{$value}</div>
<else />
    <if condition="$options">
        <select name="{$name}" class="{$class}" {$other}>
            <volist name="options" id="vo">
                <if condition="$value eq $key">
                    <option value="{$key}" selected>{$vo}</option>
                <else/>
                    <option value="{$key}">{$vo}</option>
                </if>
            </volist>
        </select>
    </if>
</if>